package com.unisound.tracelog.common.model.span;

public class StartSpanResult {

    private Long traceId;
    private Long parentSpanId;
    private Long spanId;

    private String name;
    private String serverName;
    private Integer type;
    private String request;
    private long startTime;

    public StartSpanResult() {
    }

    public StartSpanResult(Long traceId, Long parentSpanId, Long spanId, String name, String serverName, Integer type, String request, long startTime) {
        this.traceId = traceId;
        this.parentSpanId = parentSpanId;
        this.spanId = spanId;
        this.name = name;
        this.type = type;
        this.serverName = serverName;
        this.request = request;
        this.startTime = startTime;
    }

    public Long getTraceId() {
        return traceId;
    }

    public void setTraceId(Long traceId) {
        this.traceId = traceId;
    }

    public Long getParentSpanId() {
        return parentSpanId;
    }

    public void setParentSpanId(Long parentSpanId) {
        this.parentSpanId = parentSpanId;
    }

    public Long getSpanId() {
        return spanId;
    }

    public void setSpanId(Long spanId) {
        this.spanId = spanId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getRequest() {
        return request;
    }

    public void setRequest(String request) {
        this.request = request;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }
}
